package com.hf.bill

import grails.converters.JSON

class UserBillPeriodHistoryController {
	static scaffold = UserBillPeriodHistory

	def ajustOweMoney(long id, 	float lastOweMoney) {
		UserBillPeriodHistory userBillPeriodHistory = UserBillPeriodHistory.get(id)
		userBillPeriodHistory.lastOweMoney = lastOweMoney
		userBillPeriodHistory.save()

		render [:] as JSON
	}
}
